package com.mayikt.member.service;

import com.alibaba.fastjson.JSONObject;
import com.mayikt.base.BaseResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "WeChatAuthorService", description = "微信联合登陆服务")
public interface WeChatAuthorService {
    @ApiOperation(value = "根据Wx openId查询用户")
    @GetMapping("/getUserByWxOpenId")
    BaseResponse<JSONObject> getUserByOpenId(@RequestParam(value = "openId", required = true) String openId );
}
